package com.pda.common.database;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.Transient;
import org.greenrobot.greendao.annotation.Generated;

@Entity(
        indexes = {
                @Index(value = "did", unique = true)
        }
)
//经销商
public class DealerInfo {
    @Id(autoincrement = true)
    private Long id;
    private String did;
    private String code;
    private String name;
    @Transient
    private boolean flag = false;
@Generated(hash = 1386993979)
public DealerInfo(Long id, String did, String code, String name) {
    this.id = id;
    this.did = did;
    this.code = code;
    this.name = name;
}
@Generated(hash = 58221536)
public DealerInfo() {
}
public Long getId() {
    return this.id;
}
public void setId(Long id) {
    this.id = id;
}
public String getDid() {
    return this.did;
}
public void setDid(String did) {
    this.did = did;
}
public String getCode() {
    return this.code;
}
public void setCode(String code) {
    this.code = code;
}
public String getName() {
    return this.name;
}
public void setName(String name) {
    this.name = name;
}
}


